using offset command